<{include file="header.html"}>
<script type="text/javascript">

	function validate()
	{
        var pass = document.getElementById('pwd');
        var email = document.getElementById('login');
        
        if(isEmptyTextBox(email, '<{$smarty.const._LB_EMAIL_IS_EMPTY|utf8_escape_js}>'))
			return false;
        if(!isValidLengthTextBox(email, <{$smarty.const.MAX_LENGTH_NAME}>, '<{$smarty.const._MSG_EMAIL_IS_TOO_LONG|utf8_escape_js}>')){
            return false;
        }
        
        if(!isValidEmail(email,'<{$smarty.const._LB_INVALID_EMAIL|utf8_escape_js}>')){
            return false;
        }
        if(isEmptyTextBox(pass, '<{$smarty.const._LB_PASSWORD_IS_EMPTY|utf8_escape_js}>'))
			return false;
		document.user_form.submit();
	}



</script>
<div id="content">
    <div class="container">
        <div class="main-content">
            <h1 class="title"><{$smarty.const._LB_ACCOUNT_MANAGEMENT|utf8_escape_html}></h1>
            <div class="iList">
				<div class="item-iList no-img-nail-iList">
					<h2>Account Info</h2>
					<p><a href='<{$smarty.const.APPLICATION_URL_FO}>/member/update/'>Change Account Info</a></p>
					<p><a href='<{$smarty.const.APPLICATION_URL_FO}>/member/changepass/'>Change Password</a></p>
				</div>
				<div class="item-iList no-img-nail-iList">
					<h2>Booking Management</h2>
					<p>There are <{$waitingBooking}> Booking Waiting for Approval</p>
					<p>There are <{$incommingBooking}> Incoming Bookings</p>
					<p><a href='<{$smarty.const.APPLICATION_URL_FO}>/member/booking_list/'>Booking Management</a></p>
				</div>
			</div>
        </div>
        <div class="sidebar">
            <{include file="right_business_hours.html"}>
			<{include file="right_service.html"}>
        </div><!--End .sidebar-->
    </div>
</div>
<{include file="footer.html"}>